﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ST.Common;
using ST.Bll;
using ST.Model;
using System.Collections.Generic;

namespace ST.Web.admin
{
    public partial class CategoryList : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.IsPostBack)
                return;
             BindPageData();
        }
        private void BindPageData()
        {
            CategoryBLL bll = new CategoryBLL();
            List<Category> list = bll.GetList();
            this.dgList.DataSource = list;
            this.dgList.DataBind();
        }
    }
}
